use serde::{Serialize, Deserialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct UserCreatePayload {
    pub username: String,
    pub password: String,
    pub user_intro: String,
}

#[derive(Debug, Serialize, Deserialize,Clone)]
pub struct UserInfoPayload {
    pub id: u64,
    pub user_id: String,
    pub username: String,
    pub user_intro: String,
}